Warning: mkdir(): No space left on device in /var/www/tg-me/post.php on line 37

Warning: file_put_contents(aCache/aDaily/post/devopsslib/--): Failed to open stream: No such file or directory in /var/www/tg-me/post.php on line 50
Библиотека девопса | DevOps, SRE, Sysadmin | Telegram Webview: devopsslib/3652 -
Telegram Group & Telegram Channel
🧑‍💻 Дамп базы без боли

Для PostgreSQL можно использовать команду pg_dump для создания дампов базы данных.

pg_dump -U postgres -F c -b -v -f /path/to/backup/db_backup.dump mydatabase


pg_dump: утилита для создания резервных копий в PostgreSQL.

-U postgres: указывает пользователя базы данных.

-F c: указывает формат архива (custom).

-b: включает в дамп большие объекты (например, бинарные данные).

-v: включает подробный вывод.

-f /path/to/backup/db_backup.dump: путь к файлу резервной копии.

После этого можно спокойно мигрировать на другой сервер или на новое окружение.

🐸Библиотека devops'a #буст
Please open Telegram to view this post
VIEW IN TELEGRAM



tg-me.com/devopsslib/3652
Create:
Last Update:

🧑‍💻 Дамп базы без боли

Для PostgreSQL можно использовать команду pg_dump для создания дампов базы данных.

pg_dump -U postgres -F c -b -v -f /path/to/backup/db_backup.dump mydatabase


pg_dump: утилита для создания резервных копий в PostgreSQL.

-U postgres: указывает пользователя базы данных.

-F c: указывает формат архива (custom).

-b: включает в дамп большие объекты (например, бинарные данные).

-v: включает подробный вывод.

-f /path/to/backup/db_backup.dump: путь к файлу резервной копии.

После этого можно спокойно мигрировать на другой сервер или на новое окружение.

🐸Библиотека devops'a #буст

BY Библиотека девопса | DevOps, SRE, Sysadmin


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/devopsslib/3652

View MORE
Open in Telegram


Библиотека девопса | DevOps SRE Sysadmin Telegram | DID YOU KNOW?

Date: |

Telegram Auto-Delete Messages in Any Chat

Some messages aren’t supposed to last forever. There are some Telegram groups and conversations where it’s best if messages are automatically deleted in a day or a week. Here’s how to auto-delete messages in any Telegram chat. You can enable the auto-delete feature on a per-chat basis. It works for both one-on-one conversations and group chats. Previously, you needed to use the Secret Chat feature to automatically delete messages after a set time. At the time of writing, you can choose to automatically delete messages after a day or a week. Telegram starts the timer once they are sent, not after they are read. This won’t affect the messages that were sent before enabling the feature.

NEWS: Telegram supports Facetime video calls NOW!

Secure video calling is in high demand. As an alternative to Zoom, many people are using end-to-end encrypted apps such as WhatsApp, FaceTime or Signal to speak to friends and family face-to-face since coronavirus lockdowns started to take place across the world. There’s another option—secure communications app Telegram just added video calling to its feature set, available on both iOS and Android. The new feature is also super secure—like Signal and WhatsApp and unlike Zoom (yet), video calls will be end-to-end encrypted.

Библиотека девопса | DevOps SRE Sysadmin from cn


Telegram Библиотека девопса | DevOps, SRE, Sysadmin
FROM USA